<script setup>
import {useRouter} from 'vue-router'
const router=useRouter();
const home=()=>{
    router.push('/')
}
const home2=()=>{
    router.push({name:"hom2"})
}
 
</script>

<template>
<div class="c">

<!-- <table>
  <tr>
    <td><button @click="home">论坛</button></td>
    <td><button @click="home2">评论</button></td>

  </tr>
</table> -->
  
</div>
<router-view></router-view>
</template>

<style scoped>
.c{
  display: flex;
  justify-content: center;
  align-items: center;
}
.b{
  display: flexbox;

}
</style>
